Speed
class Speed
Requested speed for the flight.
When attached to a flight Directive, allows to specify the desired horizontal, vertical and rotation speed values for the flight. Note that the provided values are considered maximum values: the drone will try its best to respect the specified speeds, but the actual speeds may be lower depending on the situation. Specifying incoherent speed values with regard to the specified location target will result in a failed move.
Constructors
Link copied to clipboard
constructor( @FloatRange(from = 0.0, fromInclusive = false) horizontal: Double, @FloatRange(from = 0.0, fromInclusive = false) vertical: Double, @FloatRange(from = 0.0, fromInclusive = false) rotation: Double)
Constructor.